﻿using System;
namespace Petshop.Backend.Data
{
    interface IItemRepository
    {
        Item RetrieveById(string itemId);
        System.Collections.Generic.IEnumerable<Item> RetrieveByProductId(string productId);
        bool VerifyAvailability(string itemId, int cartItemQuantity);
        void DecreaseStockForItem(string itemId, int quantity);
        void Save();
    }
}
